package pro.lepers.portfolio.view.header {
	import fr.digitas.flowearth.conf.Conf;
	import fr.digitas.flowearth.ui.text.StyledLabel;

	import flash.display.Sprite;

	/**
	 * @author plepers
	 */
	public class Header extends Sprite {
		
		public var title : StyledLabel;
		public var subtitle : StyledLabel;
		public var nav : Nav;

		
		
		
		public function Header () {
			_build( );
		}

		private function _build () : void {
			
			title.styleName = ".header_title";
			subtitle.styleName = ".header_subtitle";
			
			title.text = Conf.header_title;
			subtitle.text = Conf.header_subtitle;
			
			title.y = 12;//34 - title.tf.getLineMetrics( 0 ).ascent - 2;
			subtitle.y = title.height + 4;
		}
	}
}
